<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/static/jquery-2.1.4.min.js"></script>
    <script src="/static/jquery.cookie.js"></script>
    <script>
        // $.cookie()
        //一个参数： $.cookie(k) 获取值
        //二个参数： $.cookie(k,v) 设置值
        $.cookie('k','v',{'path': '/index.html'})
    </script>
</head>
<body>

</body>
</html>